﻿public class PlayerMediumStoppingState : PlayerStoppingState
{
    public PlayerMediumStoppingState(PlayerMovementMachine stateMachine) : base(stateMachine)
    {
    }
    
#region IState Methods
    public override void Enter()
    {
        base.Enter();
        StartAnimation(StateMachine.Player.AnimationData.MediumStopParameterHash);

        StateMachine.ReusableData.DecelerationForce =
            StateMachine.Player.Data.PlayerGroundedData.StoppingData.MediumDecelerationForce;
        
        StateMachine.ReusableData.CurrentJumpForce = airborneData.JumpData.MediumForce;

    }

    public override void Exit()
    {
        base.Exit();
        StopAnimation(StateMachine.Player.AnimationData.MediumStopParameterHash);
    }
#endregion
}